package com.ysr.dao;

import com.ysr.pojo.PayMent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface PayMentDao {
    int create(PayMent payment);
    PayMent queryById(@Param("id")Long id);
    void add(PayMent payMent);
    PayMent queryPayMentById(Long id);
}
